package com.sf.fy.uav.common.request.order;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;


/**
 * @author LTQ
 */

@Data
@Validated
public class BatchPreCarrierWaybillRequest {

    @NotBlank(message = "id不能为空，回调给前端做数据匹配")
    private String id;

    @ApiModelProperty("货物类型,传1")
    @NotNull(message = "货物类型不能为空")
    private Integer goodsType;

    @ApiModelProperty("小程序决定传值策略，单位为g")
    @NotNull(message = "货物重量不能为空")
    private double goodsWeight;


    @ApiModelProperty("寄快递方详细地址")
    @NotBlank(message = "寄快递方详细地址不能为空")
    private String senderDetailsAddress;

    @ApiModelProperty("收快递方详细地址")
    @NotBlank(message = "收快递方详细地址不能为空")
    private String receiverDetailAddress;

    @ApiModelProperty("费用明细id")
    private String expenseDetailsId;
}
